package cn.tedu.bootdemo.ex;

import cn.tedu.bootdemo.web.JsonResult;

public class ServiceException extends RuntimeException{

    private JsonResult.State state;



    public ServiceException(){

    }

    public ServiceException(JsonResult.State state,String message){
        super(message);
        this.state = state;
    }

    public JsonResult.State getState() {
        return state;
    }
}
